package com.example.employ.common.enums;

import com.example.employ.common.convention.errorcode.IErrorCode;

/**
 * @author LYT0905
 * @date 2024/05/23/15:32
 */
public enum ResumeErrorCodeEnums implements IErrorCode {
    RESUME_SAVE_ERROR("B000300", "用户简历新增失败"),
    RESUME_REMOVE_ERROR("B000301", "用户简历删除失败"),
    RESUME_UPDATE_ERROR("B000302", "用户简历修改失败");

    private final String code;

    private final String message;

    ResumeErrorCodeEnums(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
